package hu.codelab.lg.servicecenter.entities;

import java.util.ArrayList;
import java.util.List;

import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

@Root(name = "ServiceCenters", strict = false)
public final class ServiceCenters {

    @ElementList(inline = true, required = false)
    private List<ServiceCenter> serviceCenters = new ArrayList<ServiceCenter>();

    public List<ServiceCenter> getServiceCenters() {
        return serviceCenters;
    }

    public void setServiceCenters(final List<ServiceCenter> serviceCenters) {
        this.serviceCenters = serviceCenters;
    }

}
